Linear stability of a layered fluid with mobile surface plates