tidied up options style and added toggle switch to custom post types